package com.nengchuan.kbms.dfs.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nengchuan.kbms.dfs.entity.po.DataFileTagAttr;
import com.nengchuan.kbms.dfs.entity.po.DataTagAttr;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 文件标签属性关联 Mapper 接口
 * </p>
 *
 * @author zengshuai
 * @since 2020-06-07
 */
@Repository
public interface DataFileTagAttrMapper extends BaseMapper<DataFileTagAttr> {

    /**
     * 根据文件id获取文件标签属性
     * @param id
     * @return
     */
    List<DataFileTagAttr> getFileTagAttr(Long id);

}
